home *** CD-ROM | disk | FTP | other *** search
/ Super PC 34 / Super PC 34 (Shareware).iso / spc / UTIL / DJGPP2 / V2 / DJCRX200.ZIP / include / debug / dbgcom.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-29  |  1001 b   |  42 lines

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #ifndef __dj_include_debug_dbgcom_h_
  3. #define __dj_include_debug_dbgcom_h_
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8.  
  9. #ifndef __dj_ENFORCE_ANSI_FREESTANDING
  10.  
  11. #ifndef __STRICT_ANSI__
  12.  
  13. #ifndef _POSIX_SOURCE
  14.  
  15. #include <setjmp.h>
  16. #include <debug/tss.h>
  17.  
  18. typedef struct {
  19.   unsigned long app_base;    /* linear base address of application */
  20.   unsigned long dr[8];        /* debug registers, set when a_tss runs */
  21. } ExternalDebuggerInfo;
  22.  
  23. extern ExternalDebuggerInfo edi;
  24.  
  25. void run_child(void);
  26. int read_child(unsigned child_addr, void *buf, unsigned len);
  27. int write_child(unsigned child_addr, void *buf, unsigned len);
  28. void edi_init(jmp_buf start_state);
  29.  
  30. #endif /* !_POSIX_SOURCE */
  31. #endif /* !__STRICT_ANSI__ */
  32. #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
  33.  
  34. #ifndef __dj_ENFORCE_FUNCTION_CALLS
  35. #endif /* !__dj_ENFORCE_FUNCTION_CALLS */
  36.  
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40.  
  41. #endif /* !__dj_include_debug_dbgcom_h_ */
  42.